package com.ltg.framework.es.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Version 1.0
 * @Author LTG
 * @ClassName EsProperti
 * @Date 2023/11/16 17:49
 */
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "app.elasticsearch")
public class ESProperties {

    private String username;
    private String password;

    private String serverUrl;

}
